<%-- 
    Document   : LoginForm
    Created on : 20 Apr 09, 10:26:58
    Author     : Hadi
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>LoginForm</title>
    </head>
    <body> 
        <h2>Please Login</h2>
        <f:view> 
            <h:form> 
                <p>Username:<h:inputText  value="#{Customer.username}"/></p>
                <p>Password:<h:inputSecret value="#{Customer.password}"/></p>
                <p><h:commandButton value="submit" action="#{Customer.customerValidation}"/>
            </h:form>
        </f:view>
        
    </body>
</html>
